package com.fanghuaiming.lcn.account;

import com.codingapi.txlcn.tc.config.EnableDistributedTransaction;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/****
 * @description: 账户微服务启动类
 * @version:1.0.0
 * @author fanghuaiming
 * @data Created in 2020/11/27 上午11:30
 *
 */
@EnableTransactionManagement
@SpringBootApplication(scanBasePackages = "com.fanghuaiming.lcn.account")
@MapperScan(value = {"com.fanghuaiming.lcn.account.dao.mapper"})
@EnableFeignClients
@EnableDistributedTransaction
public class LcnAccountApplication {

    public static void main(String[] args) {
        SpringApplication.run(LcnAccountApplication.class,args);
    }
}
